﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YY.Admin.Core
{
    /// <summary>
    /// 分页请求基类
    /// </summary>
    public class PagedRequestBase : BindableBase
    {
        /// <summary>
        /// 页码，从1开始
        /// </summary>
        public int Page { get; set; } = 1;

        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 搜索关键词
        /// </summary>
        public string SearchKey { get; set; } = string.Empty;
    }
    ///// <summary>
    ///// 用户分页查询输入
    ///// </summary>
    //public class PageUserInput : PagedRequestBase
    //{
    //    /// <summary>
    //    /// 机构ID
    //    /// </summary>
    //    public long OrgId { get; set; }

    //    /// <summary>
    //    /// 租户ID
    //    /// </summary>
    //    public long TenantId { get; set; }

    //    /// <summary>
    //    /// 账号
    //    /// </summary>
    //    public string Account { get; set; } = string.Empty;

    //    /// <summary>
    //    /// 真实姓名
    //    /// </summary>
    //    public string RealName { get; set; } = string.Empty;

    //    /// <summary>
    //    /// 职位名称
    //    /// </summary>
    //    public string PosName { get; set; } = string.Empty;

    //    /// <summary>
    //    /// 电话
    //    /// </summary>
    //    public string Phone { get; set; } = string.Empty;
    //}
}
